import Vue from 'vue';
import VueRouter from 'vue-router';
Vue.use(VueRouter);

import HomePage from "@/views/HomePage.vue";
import CategoryPage from '@/views/CategoryPage.vue'

var routes = [{
    path: '/',
    component: HomePage
}, {
    path: '/categorypage',
    component: CategoryPage
}];

var router = new VueRouter({
    routes
});
export default router;